package com.zhongke.cotrun.model.exception;


import com.zhongke.cotrun.model.resultpackage.CodeMsg;

import lombok.Data;

@Data
public class MyException extends Exception{


private CodeMsg codeMsg;
public MyException(CodeMsg codeMsg){
    super(codeMsg.toString());
    this.codeMsg=codeMsg;

}


}
